package cn.bone.motan.demo2;

import com.weibo.api.motan.common.MotanConstants;
import com.weibo.api.motan.util.MotanSwitcherUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by MD-01 on 2017/3/9.
 */
@SpringBootApplication
public class ServerMain {

    public static void main(String[] args){
        SpringApplication.run(ServerMain.class);
        MotanSwitcherUtil.setSwitcherValue(
                MotanConstants.REGISTRY_HEARTBEAT_SWITCHER,
                true);
    }
}
